import Vue from 'vue'
import Vuex from 'vuex'
import login from './modules/login.js'
import address from './modules/address.js'

Vue.use(Vuex)

export default new Vuex.Store({
  //大仓库需要注册全部小仓库, vuex模块式开发
  state: {},
  mutations: {},
  actions: {},
  modules: {},
  modules: {
	  login,
	  address,
  }
})